<html>
<head>
	<link type"text/css" rel="stylesheet" href="css/bootstrap.css"/>
<title>home</title>
<style>
body
{
background-image:url('bck.jpg');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:bottom left;
} 

#list
{
font-family:"Calibri";
width:800%;
border-collapse:collapse;
}
#list td, #list th 
{
font-size:1em;
border:2px solid black;
padding:3px 7px 2px 7px;
}
#list th 
{
font-size:1.1em;
text-align:center;
padding-top:5px;
padding-bottom:4px;
background-color:#B0E0E6;
color:black;
}
#list tr.alt td 
{
color:cyan;
background-color:#EAF2D3;
}

</style>
<body>
</head>

    <div class="hero-unit">
    <h1 style="color:cyan">WEPO-PKL<img align="right" src="wepo.jpg" alt="Smiley face" width="300" height="300"></h1> 
    <p style="color:blue">
	Web Portal Pedagang Kaki Lima Surabaya
	</p>
	</div>
			
	<div class="navbar">
	<div class="navbar-inner">
	<a class="brand">WEPO-PKL</a>
	<ul class="nav">
    <li><a href="Home.php">Home</a></li>
	<li><a href="Aboutus.php">About Us</a></li>
	<li><a href="Login.php">Log In</a></li>
    </ul>
	</div>
	</div>
	
	<form class="form-search pull-right" method="post" action="search._exe.php">
		<input type="text" class="input-medium search-query">
		<button type="submit" class="btn">Search</button>
		</form>
		</div>
	
	

    
		</div>
    <!--Sidebar content-->
	<form class="well span12">
		<div class="container-fluid">
		<div class="row-fluid">
		<div class="span8">
	
		<label>ID Komunitas</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Nama Komunitas</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Deskripsi Komunitas</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Lokasi Komunitas</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Alamat</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Jam Buka</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Jam Tutup</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Default Foto</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
		<label>Toko</label>
		<input type="text" class="span12" placeholder="Type username here ..." /><br/>
	</div>
	</div>
	</label>
    <button type="submit" color="blue" class="btn">Submit</button>
    <button type="submit" class="cyan">Cancel</button>
	</div>
    </div>
    </form>
	</div>
	<div class="span8" method="post" action="promo.php">
    <center><h3>Promo/Iklan</h3></center>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<center><hr><table border="1" width="100%" cellspacing="1" cellpadding="0" id="list">
<tr class="alt">
<th align="center"><b>Nama Acara</b></th>
<th align="center"><b>Tanggal</b></th>
<th align="center"><b>Tempat</b></th>
</tr>
</div>
</div>

</table>	

	</div>
    </div>
    </div>
	</div>

<?

//default
mysql_select_db($database,$dbh);
$query="select No-pengunjung";
$result=mysql_query($query);
$tcount=mysql_fetch_array($result);
if(!$tcount["No-pengunjung"])

{ $result=mysql_query("insert into jumlahpengunjung values (1)"); }

$tcount=$tcount["No-pengunjung"]+1;
$query1="update jumlahpengunjung SET_No-pengunjung=$tcount";
$result1=mysql_query($query1);
	echo "<p align=center><font.face=calibri 
	size=15 bold > Terimakasih,anda adalah pengunjung ke:".$tcount;echo"</font>";
?>
	
	<script src="js/bootstrap.js"></script>
</body>

    <!-- Footer-->
	<footer class="footer">
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
	  <br>
      <div class="span12">
        <center>© 2012 Website Protal Pedagang Kaki Lima Surabaya.</center>
      </div>
    </footer>


</html>
